import { http } from '@/utils/http/axios';

export function pageBadRegistration(data = {}) {
  return http.request({
    url: '/admin/wip/badRegistration/page',
    method: 'post',
    data,
  });
}

export function updateBadRegistration(data = {}) {
  return http.request({
    url: '/admin/wip/badRegistration/update',
    method: 'post',
    data,
  });
}

export function delBadRegistration(data = {}) {
  return http.request({
    url: '/admin/wip/badRegistration/delete',
    method: 'post',
    data,
  });
}

export function addBadRegistration(data = {}) {
  return http.request({
    url: '/admin/wip/badRegistration/add',
    method: 'post',
    data,
  });
}

export function badRegistrationInfo(data = {}) {
  return http.request({
    url: '/admin/wip/badRegistration/info',
    method: 'post',
    data,
  });
}

export function exportBadRegistration(data) {
  return http.request({
    url: '/admin/wip/badRegistration/export',
    method: 'post',
    data,
    responseType: 'blob',
  });
};
